import { configureStore } from "@reduxjs/toolkit";
import layoutData from "./modules/layout_data";
import userData from "./modules/user_data";
const store = configureStore({
  reducer: {
    layoutData: layoutData,
    userData: userData,
  }
});

export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch

export default store;
